package imgsei.wcj.com.commonbusiness.interfaces.view;


/**
 * 视图基类
 *
 * @ author LUCKY
 * @ create date 2018/11/8 10:39
 */
public interface IBaseView<T> {

    //显示正在加载progress
    void showProgress();

    //隐藏progress
    void hideProgress();

    //请求成功
    void loadDataSuccess(T data);

    //请求失败
    void loadDataError(Throwable throwable);

}
